<template>
    <li>
        <!-- <input type="checkbox" :checked="todo.done" @change="edit(todo.id)">
        <span>{{todo.text}}</span>
        {{todo.done}}
        <button @click="del(todo.id)">删除</button> -->
    </li>
</template>
<script>
import {mapActions} from 'vuex'
export default {
    props:['todo'],
    methods:{
        // ...mapActions(['del','edit'])
    }
}
</script>
